﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="New.aspx.cs" Inherits="New" %>

<%@ Register Src="~/AdvButton.ascx" TagPrefix="uc1" TagName="AdvButton" %>
<%@ Register Src="~/BaseRight.ascx" TagPrefix="uc1" TagName="BaseRight" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="home" Runat="Server">
    <div class="mark">
        <img src="images/home.png" /><span>您现在的位置：</span>
        <a href="Index.aspx">首页</a><font>></font><a href="NewList.aspx?tag=<%= dic.Tag %>"><%= dic.Name %></a>
        <div class="timeBox">今天是：<%= Sys.Common.StringHelper.TimeAndDayOfWeek() %></div>
    </div>    
    <div class="main">
        <div class="leftBox">
            <div class="leftBoxTitle"><strong><%= dic.Name %></strong></div>
            <div class="leftBoxContent">
                <div class="pageContent">
                    <h1><%= model.Name %></h1>
                    <div class="articleInfo">
                        <span>更新时间：<%= model.UpdateTime.ToString("yyyy-MM-dd") %></span>
                        <span>来源：<%= model.Source %></span>
                        <span>作者：<%= model.Author %></span>
                    </div>
                    <div class="articleContent">
                        <%= model.Content %>
                    </div>
                </div>
                <ul class="pageTwo">
                    <%= GetPrev(dic.Tag, model) %>
                    <%= GetNext(dic.Tag, model) %>
                </ul>
            </div>
        </div>
        <uc1:BaseRight runat="server" ID="BaseRight" />
    </div>
    <uc1:AdvButton runat="server" ID="AdvButton" />
</asp:Content>

